package com.company.ems.mapper;

import com.company.ems.dto.EmployeeQueryDTO;
import com.company.ems.model.Employee;
import java.util.List;

public interface EmployeeMapper {
    List<Employee> findByCondition(EmployeeQueryDTO queryDTO);
    int countByCondition(EmployeeQueryDTO queryDTO);
    Employee findById(Integer id);
    int insert(Employee employee);
    int update(Employee employee);
    int delete(Integer id);
}